ExamPlay Light Logo
Hyni

Computer Science for IGCSE & O level - Programming (Section 6 - No. 14)

What is the primary difference between a pre-condition loop and a post-condition loop?
Pre-condition loops always execute at least once.
Post-condition loops check the condition before the loop body is executed.
Pre-condition loops check the condition before the loop body is executed.
Post-condition loops cannot be used with a counter.

Shpjegimi

The pre-condition loop checks at the start, while the post-condition at the end of the loop body.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc